<template>
  <div class="home">
    <el-container>
      <el-header>
        <Header/>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <Aside />
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import Aside from "@/views/components/Aside.vue";
import Header from "@/views/components/header.vue";
</script>

<style scoped lang="less">
.home {
  height: 100%;
  width: 100%;
  position: relative;
  :deep(.el-header) {
    height: 40px;
    background-color: #409eff;
  }
  :deep(.el-aside) {
    height: calc(100vh - 40px);
    width: 190px;
    background-color: #304156;
    &::-webkit-scrollbar {
      width: 0px;
    }
  }
  :deep(.el-main){
    height: calc(100vh - 40px);
    overflow: hidden;
  }
}
</style>
